
#ifndef VCYLINDER_H
#define VCYLINDER_H

#include"vgrid.h"


class VCylinder : public VGrid 
{
  private:
  float m_ratio;
  public:
  VCylinder (int n, float r_ratio): VGrid(n,false,true), m_ratio(r_ratio) {FillCoordAndBox();};
  VCylinder (int n, float r_ratio,bool bind_top): 
    VGrid(n,bind_top,true) , m_ratio(r_ratio)
  {FillCoordAndBox();};
  void FillCoordAndBox ();
  void ShapeCurve (float * c);
  void SinShape ();
  void KnotShape ();
};

#endif
